//
//  CGSize.swift
//  
//
//  Created by tangbl93 on 2021/3/10.
//

import CoreGraphics

extension CGSize {

    /// one
    public static var yx_one: CGSize {
        return CGSize.yx_equalWidth(1)
    }
    
    /// equalWidth
    public static func yx_equalWidth(_ width: CGFloat) -> CGSize {
        return CGSize(width: width, height: width)
    }
}
